<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">


    <title> - 空白页</title>
    <meta name="keywords" content="">
    <meta name="description" content="">


    <link rel="shortcut icon" href="favicon.ico"> <link href="css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="css/font-awesome.css?v=4.4.0" rel="stylesheet">
    <link href="css/animate.css" rel="stylesheet">
    <link href="css/style.css?v=4.1.0" rel="stylesheet">

    <link href="css/plugins/iCheck/custom.css" rel="stylesheet">
</head>
<style>
    .fond-name{
        font-size: 26px;
        padding-left: 220px;
    }
    .fond-user{
        font-size: 26px;
        color: #000;
    }
    .con-left{
        width: 300px;
        height: 448px;
        float: left;
        margin-left: 150px;
        margin-right: 100px;
    }
    .con-right{
        width: 300px;
        height: 448px;
        float: left;
    }
    .con-name{
        padding-top: 5px;
        font-size: 22px;
    }
    .con-user{
        padding-top: 5px;
        font-size: 22px;
        color: #7B7B7B;
    }
    .fond-names{
        padding-left: 520px;
    }
</style>
<body class="gray-bg">

    
    <div class="col-sm-12">
                <div class="ibox float-e-margins">
                    <div class="ibox-title">
                        <h5>用户详情</h5>
                        <div class="ibox-tools">
                            <a href="?r=user/insert" class="btn btn-info dropdown-toggle" title="创建新用户">创建新用户</a>
                            <a href="#" class="btn btn-primary dropdown-toggle" title="删除用户" id="selected">删除用户</a>
                            <a href="?r=user/index" class="btn btn-warning dropdown-toggle" title="用户列表">用户列表</a>
                            
                            <a class="collapse-link">
                                <i class="fa fa-chevron-up"></i>
                            </a>
                            <a class="dropdown-toggle" data-toggle="dropdown" href="table_basic.html#">
                                <i class="fa fa-wrench"></i>
                            </a>
                            <ul class="dropdown-menu dropdown-user">
                                <li><a href="table_basic.html#">选项1</a>
                                </li>
                                <li><a href="table_basic.html#">选项2</a>
                                </li>
                            </ul>
                            <a class="close-link">
                                <i class="fa fa-times"></i>
                            </a>
                        </div>
                    </div>
                    <div class="ibox-content">
                        <span class="fond-name">Host：</span><span class="fond-user"><?=$list['Host']?></span>
                        <span class="fond-name">User：</span><span class="fond-user"><?=$list['User']?></span>
                        <div class="con-left">
                            <span class="con-name">Select_priv：</span><span class="con-user"><?php if($list['Select_priv']=='Y'){?><input type="checkbox" checked><?php }else{?><input type="checkbox"><?php }?></span><br>
                            <span class="con-name">Insert_priv：</span><span class="con-user"><?php if($list['Insert_priv']=='Y'){?><input type="checkbox" checked><?php }else{?><input type="checkbox"><?php }?></span><br>
                            <span class="con-name">Update_priv：</span><span class="con-user"><?php if($list['Update_priv']=='Y'){?><input type="checkbox" checked><?php }else{?><input type="checkbox"><?php }?></span><br>
                            <span class="con-name">Delete_priv：</span><span class="con-user"><?php if($list['Delete_priv']=='Y'){?><input type="checkbox" checked><?php }else{?><input type="checkbox"><?php }?></span><br>
                            <span class="con-name">Create_priv：</span><span class="con-user"><?php if($list['Create_priv']=='Y'){?><input type="checkbox" checked><?php }else{?><input type="checkbox"><?php }?></span><br>
                            <span class="con-name">Drop_priv：</span><span class="con-user"><?php if($list['Drop_priv']=='Y'){?><input type="checkbox" checked><?php }else{?><input type="checkbox"><?php }?></span><br>
                            <span class="con-name">Reload_priv：</span><span class="con-user"><?php if($list['Reload_priv']=='Y'){?><input type="checkbox" checked><?php }else{?><input type="checkbox"><?php }?></span><br>
                            <span class="con-name">Shutdown_priv：</span><span class="con-user"><?php if($list['Shutdown_priv']=='Y'){?><input type="checkbox" checked><?php }else{?><input type="checkbox"><?php }?></span><br>
                            <span class="con-name">Process_priv：</span><span class="con-user"><?php if($list['Process_priv']=='Y'){?><input type="checkbox" checked><?php }else{?><input type="checkbox"><?php }?></span><br>
                            <span class="con-name">File_priv：</span><span class="con-user"><?php if($list['File_priv']=='Y'){?><input type="checkbox" checked><?php }else{?><input type="checkbox"><?php }?></span><br>
                            <span class="con-name">Grant_priv：</span><span class="con-user"><?php if($list['Grant_priv']=='Y'){?><input type="checkbox" checked><?php }else{?><input type="checkbox"><?php }?></span><br>
                            <span class="con-name">References_priv：</span><span class="con-user"><?php if($list['References_priv']=='Y'){?><input type="checkbox" checked><?php }else{?><input type="checkbox"><?php }?></span><br>
                            <span class="con-name">Index_priv：</span><span class="con-user"><?php if($list['Index_priv']=='Y'){?><input type="checkbox" checked><?php }else{?><input type="checkbox"><?php }?></span><br>
                            <span class="con-name">Alter_priv：</span><span class="con-user"><?php if($list['Alter_priv']=='Y'){?><input type="checkbox" checked><?php }else{?><input type="checkbox"><?php }?></span><br>
                            <span class="con-name">Show_db_priv：</span><span class="con-user"><?php if($list['Show_db_priv']=='Y'){?><input type="checkbox" checked><?php }else{?><input type="checkbox"><?php }?></span>
                        </div>
                        <div class="con-right">
                            <span class="con-name">Super_priv：</span><span class="con-user"><?php if($list['Super_priv']=='Y'){?><input type="checkbox" checked><?php }else{?><input type="checkbox"><?php }?></span><br>
                            <span class="con-name">Create_tmp_table_priv：</span><span class="con-user"><?php if($list['Create_tmp_table_priv']=='Y'){?><input type="checkbox" checked><?php }else{?><input type="checkbox"><?php }?></span><br>
                            <span class="con-name">Lock_tables_priv：</span><span class="con-user"><?php if($list['Lock_tables_priv']=='Y'){?><input type="checkbox" checked><?php }else{?><input type="checkbox"><?php }?></span><br>
                            <span class="con-name">Execute_priv：</span><span class="con-user"><?php if($list['Execute_priv']=='Y'){?><input type="checkbox" checked><?php }else{?><input type="checkbox"><?php }?></span><br>
                            <span class="con-name">Repl_slave_priv：</span><span class="con-user"><?php if($list['Repl_slave_priv']=='Y'){?><input type="checkbox" checked><?php }else{?><input type="checkbox"><?php }?></span><br>
                            <span class="con-name">Repl_client_priv：</span><span class="con-user"><?php if($list['Repl_client_priv']=='Y'){?><input type="checkbox" checked><?php }else{?><input type="checkbox"><?php }?></span><br>
                            <span class="con-name">Create_view_priv：</span><span class="con-user"><?php if($list['Create_view_priv']=='Y'){?><input type="checkbox" checked><?php }else{?><input type="checkbox"><?php }?></span><br>
                            <span class="con-name">Show_view_priv：</span><span class="con-user"><?php if($list['Show_view_priv']=='Y'){?><input type="checkbox" checked><?php }else{?><input type="checkbox"><?php }?></span><br>
                            <span class="con-name">Create_routine_priv：</span><span class="con-user"><?php if($list['Create_routine_priv']=='Y'){?><input type="checkbox" checked><?php }else{?><input type="checkbox"><?php }?></span><br>
                            <span class="con-name">Alter_routine_priv：</span><span class="con-user"><?php if($list['Alter_routine_priv']=='Y'){?><input type="checkbox" checked><?php }else{?><input type="checkbox"><?php }?></span><br>
                            <span class="con-name">Create_user_priv：</span><span class="con-user"><?php if($list['Create_user_priv']=='Y'){?><input type="checkbox" checked><?php }else{?><input type="checkbox"><?php }?></span><br>
                            <span class="con-name">Event_priv：</span><span class="con-user"><?php if($list['Event_priv']=='Y'){?><input type="checkbox" checked><?php }else{?><input type="checkbox"><?php }?></span><br>
                            <span class="con-name">Trigger_priv：</span><span class="con-user"><?php if($list['Trigger_priv']=='Y'){?><input type="checkbox" checked><?php }else{?><input type="checkbox"><?php }?></span><br>
                            <span class="con-name">Create_tablespace_priv：</span><span class="con-user"><?php if($list['Create_tablespace_priv']=='Y'){?><input type="checkbox" checked><?php }else{?><input type="checkbox"><?php }?></span>
                        </div>
                         <span class="fond-names"></span>
                    </div>
                </div>
            </div>
    

    <!-- 全局js -->
    <script src="js/jquery.min.js?v=2.1.4"></script>
    <script src="js/bootstrap.min.js?v=3.3.6"></script>

    <!-- 自定义js -->
    <script src="js/content.js?v=1.0.0"></script>
    
    <script src="js/plugins/iCheck/icheck.min.js"></script>

    <script src="js/demo/peity-demo.js"></script>

    <!-- Peity -->
    <script src="js/plugins/peity/jquery.peity.min.js"></script>


    <script>
        $(document).ready(function () {
            $('.i-checks').iCheck({
                checkboxClass: 'icheckbox_square-green',
                radioClass: 'iradio_square-green',
            });
        });

        // 全选
        $(function(){
            $("#selected").click(function(){
            
            })
        });
    </script>



</body>

</html>